package org.dromara.nursing.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.nursing.domain.MsOccupancyStatistics;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 入住率统计视图对象 ms_occupancy_statistics
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MsOccupancyStatistics.class)
public class MsOccupancyStatisticsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 统计ID
     */
    @ExcelProperty(value = "统计ID")
    private Long statId;

    /**
     * 统计日期
     */
    @ExcelProperty(value = "统计日期")
    private Date statDate;

    /**
     * 统计月份
     */
    @ExcelProperty(value = "统计月份")
    private String statMonth;

    /**
     * 统计年份
     */
    @ExcelProperty(value = "统计年份")
    private Long statYear;

    /**
     * 总床位数
     */
    @ExcelProperty(value = "总床位数")
    private Long totalBeds;

    /**
     * 已占用床位数
     */
    @ExcelProperty(value = "已占用床位数")
    private Long occupiedBeds;

    /**
     * 可用床位数
     */
    @ExcelProperty(value = "可用床位数")
    private Long availableBeds;

    /**
     * 维修中床位数
     */
    @ExcelProperty(value = "维修中床位数")
    private Long maintenanceBeds;

    /**
     * 入住率(%)
     */
    @ExcelProperty(value = "入住率(%)")
    private Long occupancyRate;

    /**
     * 新入住人数
     */
    @ExcelProperty(value = "新入住人数")
    private Long newAdmissions;

    /**
     * 退住人数
     */
    @ExcelProperty(value = "退住人数")
    private Long discharges;

    /**
     * 平均入住天数
     */
    @ExcelProperty(value = "平均入住天数")
    private Long avgStayDays;

    /**
     * 等待入住人数
     */
    @ExcelProperty(value = "等待入住人数")
    private Long waitingListCount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
